<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 Copyright (C) 2014 - Open Source Geospatial Foundation. All rights reserved.
 This code is licensed under the GPL 2.0 license, available at the root
 application directory.
 -->
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:sec="http://www.springframework.org/schema/security"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
          http://www.springframework.org/schema/security
          http://www.springframework.org/schema/security/spring-security-3.0.4.xsd">

   <bean id="casPanelInfo" class="org.geoserver.security.web.cas.CasAuthFilterPanelInfo">
        <property name="id" value="security.CasAuthFilter" />
        <property name="shortTitleKey" value="CasAuthFilterPanel.short"/>
        <property name="titleKey" value="CasAuthFilterPanel.title"/>
        <property name="descriptionKey" value="CasAuthFilterPanel.description"/>
   </bean>

    <!-- login button -->
    <bean id="casFormLoginButton" class="org.geoserver.web.LoginFormInfo">
        <property name="id" value="casFormLoginButton" />
        <property name="titleKey" value="" />
        <property name="descriptionKey" value="CasAuthFilterPanelInfo.description" />
        <property name="componentClass" value="org.geoserver.security.web.cas.CasAuthFilterPanel" />
        <property name="name" value="cas" />
        <property name="icon" value="cas.png" />
        <property name="filterClass" value="org.geoserver.security.cas.GeoServerCasAuthenticationFilter" />
        <property name="loginPath" value="web/j_spring_cas_login" />
    </bean>
    
</beans>
